 <nav class="products-nav cf">
    <ul class="tab-links">
    </ul>
 </nav> <!--# products navigation--> 
 
 <section class="product-carousel cf">
    <div class="tabs">
       
        <div data-title="<?php echo $title_new; ?>" id="<?php echo $title_new; ?>" class="cf">
           <ul>
           
             <?php foreach ($products_new as $product) { ?>
               <li>
                        <div class="product-carousel-item">
                         <?php if ($product['special']) { ?>
                            <div class="promo-flag">
                                <div><?php echo $label_promo; ?></div>
                            </div>
                          <?php } ?>
                            <a href="<?php echo $product['href']; ?>">
                                <img class="product-image" src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" />
                            
                            <p class="product-description"><?php echo $product['name']; ?></p>
                            <span class="product-model">#<?php echo $product['model']; ?></span>
                            </a>
                            <div class="row cf">
                                <div class="price-description">
                                <p>
                                <?php if (!$product['special']) { ?>
                                <?php echo $product['price']; ?>
                                <?php } else { ?>
                                    <span class="promo"><?php echo $product['price']; ?></span><?php echo $product['special']; ?>
                                <?php } ?>
                                    </p>
                                </div>   
                                <div class="buy">
                                    <button class="buy-button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');"><span><?php echo $button_cart; ?></span></button>
                                    

                                </div>
                            </div>
                        </div> <!--# product tile example-->
               </li>
               
               <?php } ?>
           </ul>
        </div>
        <div data-title="<?php echo $title_sale; ?>" id="<?php echo $title_sale; ?>" class="cf">
            <ul>
            <?php foreach ($products_sale as $product) { ?>
               <li>
                        <div class="product-carousel-item">
                         <?php if ($product['special']) { ?>
                            <div class="promo-flag">
                                <div><?php echo $label_promo; ?></div>
                            </div>
                          <?php } ?>
                            <a href="<?php echo $product['href']; ?>">
                                <img class="product-image" src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" />
                            
                            <p class="product-description"><?php echo $product['name']; ?></p>
                            <span class="product-model">#<?php echo $product['model']; ?></span>
                            </a>
                            <div class="row cf">
                                <div class="price-description">
                                <p>
                                <?php if (!$product['special']) { ?>
                                <?php echo $product['price']; ?>
                                <?php } else { ?>
                                    <span class="promo"><?php echo $product['price']; ?></span><?php echo $product['special']; ?>
                                <?php } ?>
                                    </p>
                                </div>   
                                <div class="buy">
                                    <button class="buy-button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');"><span><?php echo $button_cart; ?></span></button>
                                    

                                </div>
                            </div>
                        </div> <!--# product tile example-->
               </li>
              <?php } ?>
           </ul>
        </div>
        
        
        
        <div data-title="<?php echo $title_special; ?>" id="<?php echo $title_special; ?>" class="cf">
           <ul>
            <?php foreach ($products_special as $product) { ?> 
                <li>
                    <div class="product-carousel-item">
                         <?php if ($product['special']) { ?>
                            <div class="promo-flag">
                                <div><?php echo $label_promo; ?></div>
                            </div>
                          <?php } ?>
                            <a href="<?php echo $product['href']; ?>">
                                <img class="product-image" src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" />
                            
                            <p class="product-description"><?php echo $product['name']; ?></p>
                            <span class="product-model">#<?php echo $product['model']; ?></span>
                            </a>
                            <div class="row cf">
                                <div class="price-description">
                                <p>
                                <?php if (!$product['special']) { ?>
                                <?php echo $product['price']; ?>
                                <?php } else { ?>
                                    <span class="promo"><?php echo $product['price']; ?></span><?php echo $product['special']; ?>
                                <?php } ?>
                                    </p>
                                </div>   
                                <div class="buy">
                                    <button class="buy-button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');"><span><?php echo $button_cart; ?></span></button>
                                    

                                </div>
                            </div>
                        </div> <!--# product tile example-->
                        </li>
               <?php } ?>
            </ul>
        </div>
        
        <div data-title="<?php echo $title_promo; ?>" id="<?php echo $title_promo; ?>" class="cf">
            <ul>
                <?php foreach ($products_promo as $product) { ?>
                <li>
                	<div class="product-carousel-item">
                     <?php if ($product['special']) { ?>
                        <div class="promo-flag">
                            <div><?php echo $label_promo; ?></div>
                        </div>
                      <?php } ?>
                        <a href="<?php echo $product['href']; ?>">
                            <img class="product-image" src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" />
                        	<p class="product-description"><?php echo $product['name']; ?></p>
                            <span class="product-model">#<?php echo $product['model']; ?></span>
                        </a>
                        <div class="row cf">
                            <div class="price-description">
                            <p>
                            <?php if (!$product['special']) { ?>
                            <?php echo $product['price']; ?>
                            <?php } else { ?>
                                <span class="promo"><?php echo $product['price']; ?></span><?php echo $product['special']; ?>
                            <?php } ?>
                            </p>
                            </div>   
                            <div class="buy">
                                <button class="buy-button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');"><span><?php echo $button_cart; ?></span></button>
                                

                            </div>
                        </div>
                    </div> <!--# product tile example-->
                </li>
            
              <?php }?>
           </ul>
        </div>
    </div>
                        
 </section> <!--# carousel products-->